package com.jzg.jcptadmin.viewinterface;

import android.support.annotation.NonNull;

import com.jzg.jcptadmin.base.MvpView;
import com.jzg.jcptadmin.data.vo.CityItem;
import com.jzg.jcptadmin.data.vo.TotalCountInfo;
import com.jzg.jcptadmin.data.vo.WorkInfo;

import java.util.Map;

/**
 * Created by jzg on 2015/12/22.
 */
public interface HomeActivityInterface extends MvpView {
    /**
     * 网络请求成功
     *
     * @param totalCountInfo
     */
    void success(TotalCountInfo totalCountInfo);

    /**
     * 获取打卡信息成功
     */
    void successForwork(WorkInfo info);

    /**
     * 获取消息总数参数
     *
     * @return
     */
    @NonNull
    Map<String, String> getTotalCountParams();

    /**
     * 获取是否打卡参数
     * @return
     */
    @NonNull
    Map<String, String> getWorkParams();

    void cityDataSuccess(CityItem cityItem);

}
